Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should change key mappings of c* #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KSR-Yasuda
Copy link

It does nmap some of c* key sequences,
however, there exists c{motion} vim key binding.

For example, in the case of below,
it prevents vim default key binding.

//   Cursor is here
//   *
some_function_foo_bar();
//   ^^^^^^^^
//   On `ct_`, it had deleted here and started insert mode;
//   however, now `conflict-marker.vim` binds over the key sequence
//   (i.e. `ct`, `@<Plug>(conflict-marker-themselves)`).

The key mappings are only for the buffer that is detected conflict.
But once the mappings are activated, they remain until the buffer is wiped out (i.e. :bw).

I know there exists g:conflict_marker_enable_mappings option to skip the key mapping.
But I think you shouldn't overwrite such commonly used key binding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant